Skip to content

Conversation

@holser
Copy link
Contributor

@holser holser commented Nov 7, 2025

[kustomize_deploy] Improve code clarity

  • Rename _cifmw_kustomize_deploy_olm_osp_operator_sub to
    _cifmw_kustomize_deploy_olm_osp_operator_subscription for better
    readability and consistency.

  • Add dedicated cifmw_kustomize_deploy_retries_subscription parameter
    (default: 90) to allow independent configuration of Subscription vs
    InstallPlan retry timeouts.

  • Fix task name from 'Wait for InstallPlan to be created' to
    'Wait for Subscription to be created' to correctly reflect what
    the task is actually waiting for.

  • Update role README.md to document the new retries_subscription
    parameter in the Timeouts section.

This change improves maintainability by using more descriptive variable
names and properly separating concerns between Subscription and
InstallPlan wait operations.

Resolves: https://issues.redhat.com/browse/OSPCIX-1100
Assisted-By: Claude Code/claude-sonnet-4.5
Signed-off-by: Sergii Golovatiuk [email protected]

@holser holser requested a review from a team as a code owner November 7, 2025 19:33
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@holser holser force-pushed the fix_subscription_installation branch from 441a0e2 to 87481ef Compare November 12, 2025 10:35
@holser holser force-pushed the fix_subscription_installation branch from 87481ef to 4f7a974 Compare November 12, 2025 10:47
@holser holser force-pushed the fix_subscription_installation branch from 4f7a974 to ab0393a Compare November 12, 2025 17:07
@holser holser force-pushed the fix_subscription_installation branch from ab0393a to 7ce520b Compare November 12, 2025 17:09
@holser holser changed the title Refactor: kustomize_deploy role [kustomize_deploy] Improve code clarity Nov 12, 2025
- Rename _cifmw_kustomize_deploy_olm_osp_operator_sub to
  _cifmw_kustomize_deploy_olm_osp_operator_subscription for better
  readability and consistency.

- Add dedicated cifmw_kustomize_deploy_retries_subscription parameter
  (default: 90) to allow independent configuration of Subscription vs
  InstallPlan retry timeouts.

- Fix task name from 'Wait for InstallPlan to be created' to
  'Wait for Subscription to be created' to correctly reflect what
  the task is actually waiting for.

- Update role README.md to document the new retries_subscription
  parameter in the Timeouts section.

This change improves maintainability by using more descriptive variable
names and properly separating concerns between Subscription and
InstallPlan wait operations.

Resolves: https://issues.redhat.com/browse/OSPCIX-1100
Assisted-By: Claude Code/claude-sonnet-4.5
Signed-off-by: Sergii Golovatiuk <[email protected]>
@holser holser force-pushed the fix_subscription_installation branch from 7ce520b to 02022a4 Compare November 12, 2025 18:36
@evallesp evallesp merged commit 53981f3 into openstack-k8s-operators:main Nov 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants